package com.boge.modules.house.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author boge
 * @email dengpbs@163.com
 * @date 2024-12-04 22:12:55
 */
@Data
@TableName("t_house")
public class THouseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 房屋名称
	 */
	private String name;
	/**
	 * 图片地址
	 */
	private String img;
	/**
	 * 面积
	 */
	private String area;
	/**
	 * 描述信息
	 */
	private String note;
	/**
	 * 房屋状态 0 空闲 1 租赁中
	 */
	private Integer status;
	/**
	 * 房东id
	 */
	private Integer userId;

	@TableField(exist = false)
	private String userName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 房屋类型
	 */
	private Integer typeId;

	@TableField(exist = false)
	private String typeName;

	/**
	 * 房屋大小
	 */
	@TableField(value = "h_size")
	private String hsize;

	private String address;

	private String rentArea;
	private String rentPriceUnit;
	private String rentPriceListing;
	private String tags;
	private String areaCode;
	private String areaId;
	private String paymentType; // 支付方式

}
